﻿document.write("<header id='header' class='time_first'>"); 
document.write("            <div id='#' class='logo'><a href='index.html'><img src='"+RESOURCES_PATH+"/img/logo.png'></a></div>"); 
document.write("            <div class='top_nav'>"); 
document.write("                <a href='" + BASE_PATH +"/index.html' class='no4'><i></i>后台管理</a>"); 
document.write("            </div>"); 
document.write("            <div class='user_after'>"); 
document.write("                <div class='changeColorBox'>"); 
document.write("                    <a href='javascript:(0);' class='otherBtn changeColor'><span>换肤</span></a>"); 
document.write("                    <div class='headFloat changeColorFloat'>"); 
document.write("                        <ul id='skin' data-id='4'>"); 
document.write("                            <li class='color4 on' id='color4' data-id='4'>"); 
document.write("                                <div class='imgBox'>"); 
document.write("                                    <img src='"+RESOURCES_PATH+"/img/colorbg4.png'>"); 
document.write("                                </div><div class='hoverBox'>使用中</div><p>精致科技蓝</p>"); 
document.write("                            </li>"); 
document.write("                            <li class='color5' id='color5' data-id='5'>"); 
document.write("                                <div class='imgBox'>"); 
document.write("                                    <img src='"+RESOURCES_PATH+"/img/colorbg5.png'>"); 
document.write("                                </div><div class='hoverBox'>选用皮肤</div><p>护眼橘绿</p>"); 
document.write("                            </li>"); 
document.write("                            <li class='color6' id='color6' data-id='6'>"); 
document.write("                                <div class='imgBox'>"); 
document.write("                                    <img src='"+RESOURCES_PATH+"/img/colorbg6.png'>"); 
document.write("                                </div><div class='hoverBox'>选用皮肤</div><p>红色印象</p>"); 
document.write("                            </li>"); 
document.write("                            <li class='color1' id='color1' data-id='1'>"); 
document.write("                                <div class='imgBox'>"); 
document.write("                                    <img src='"+RESOURCES_PATH+"/img/colorbg1.png?t=20210'>"); 
document.write("                                </div><div class='hoverBox'>选用皮肤</div><p>书香雅苑</p>"); 
document.write("                            </li>"); 
document.write("                            <li class='color2' id='color2' data-id='2'>"); 
document.write("                                <div class='imgBox'>"); 
document.write("                                    <img src='"+RESOURCES_PATH+"/img/colorbg2.png'>"); 
document.write("                                </div><div class='hoverBox'>选用皮肤</div><p>朱颜绿发</p>"); 
document.write("                            </li>"); 
document.write("                            <li class='color3' id='color3' data-id='3'>"); 
document.write("                                <div class='imgBox'>"); 
document.write("                                    <img src='"+RESOURCES_PATH+"/img/colorbg3.png'>"); 
document.write("                                </div><div class='hoverBox'>选用皮肤</div><p>简约蓝调</p>"); 
document.write("                            </li>"); 
document.write("                        </ul>"); 
document.write("                    </div>"); 
document.write("                </div>"); 
document.write("                <a href='javascript:;' class='otherBtn email' ><span>未读邮件</span><p style='display: none' id='red'></p></a>"); 
document.write("                <div class='nameBox'>"); 
document.write("                    <a href='" + BASE_PATH +"/login.html' class='otherBtn login' style='display:none;'><span>登录</span></a> ");
document.write("                    <div class='headPicName'>"); 
document.write("                        <div class='img_box'><img src='"+RESOURCES_PATH+"/img/default_headpic.png'></div>"); 
document.write("                        <span class='name'>"+ $.cookie("userid")+"</span>"); 
document.write("                    </div>"); 
document.write("                    <div class='headFloat smallFloat'>"); 
document.write("                        <ul>"); 
document.write("                            <li><a href='" + BASE_PATH +"/login.html?type=out'>退出</a></li>"); 
document.write("                        </ul>"); 
document.write("                    </div>"); 
document.write("                </div>"); 
document.write("            </div>"); 
document.write("            <div class='search_box'>"); 
document.write("                <form action='#' id='form'>"); 
document.write("                    <input class='search_input' placeholder='搜索您需要的服务' type='text' value='' name='appName' id='search'>"); 
document.write("                    <input class='search_btn' type='submit' value='' onclick='submitForm()'>"); 
document.write("                </form>"); 
document.write("            </div>"); 
document.write("            <script>"); 
document.write("            function submitForm(){"); 
document.write("    	        $('#form').submit();"); 
document.write("            }"); 
document.write("            </script>"); 
document.write("        </header>"); 

//换肤弹窗
$(".changeColorBox").mouseover(function(event) {
    $(this).addClass('on');
});
$(".changeColorBox").mouseleave(function(event) {
    $(this).removeClass('on');
});
//用户管理
$(".nameBox").mouseover(function(event) { 
    $(this).addClass('on');
});
$(".nameBox").mouseleave(function(event) { 
    $(this).removeClass('on');
});